import request from '../../../utils/request'

// 获取路线分类
export function getRouteList() {
  return request({
    url: '/cockpitapi/route/getRouteList',
    method: 'post'
  })
}

// 获取观测点列表
export function getObservationList(routeId) {
  return request({
    url: `/cockpitapi/route/getObservationList?routeId=${routeId}`,
    method: 'post'
  })
}

// 获取观测点扩展
export function getItemList(params) {
  return request({
    url: '/cockpitapi/route/getItemList',
    method: 'post',
    data:params
  })
}


